﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyGiaoVuDAL.DTO;
using QuanLyGiaoVuDAL.Repositories.DatabaseRepositories;

namespace QuanLyGiaoVuService.ReportServices
{
    public class DangKyKetThucLopMonHocReportService:IDangKyKetThucLopMonHocReportService
    {
        private IDangKyKetThucLopMonHocRepository _dangKyKetThucLopMonHocReportService;
        public DangKyKetThucLopMonHocReportService(IDangKyKetThucLopMonHocRepository dangKyKetThucLopMonHocReportService)
        {
            _dangKyKetThucLopMonHocReportService = dangKyKetThucLopMonHocReportService;
        }
        public IEnumerable<DangKyKetThucLopMonHocDTO> GetAllDangKy()
        {
            return _dangKyKetThucLopMonHocReportService.GetAllDangKy();
        }
        public IEnumerable<DangKyKetThucLopMonHocDTO> GetAllDangKyByGiangVien(Guid GiangVienID, Guid MaHocKy)
        {
            return _dangKyKetThucLopMonHocReportService.GetAllDangKyByGiangVien(GiangVienID, MaHocKy);
        }
    }
}
